/**
 * @License: (C) Copyright 2013-2022
 * @Contact: abcque@outlook.com
 * @IDE: IntelliJ IDEA
 * @Encoding: utf-8
 * @Project: st2212 2213
 * @Package: PACKAGE_NAME
 * @File: LoopEmbedded1.java
 * @Time: 2022/12/8 14:03
 * @Author: abcque
 * @Description: 使用循环嵌套完成矩形的输出
 * @Modifier:
 * @ModifyDate:
 * @ModifyRemark:
 */
public class LoopEmbedded1 {
    public static void main(String[] args) {
        /*System.out.println("*****");
        System.out.println("*****");
        System.out.println("*****");
        System.out.println("*****");*/

        /*for (int i = 0; i < 4; i++) {
            System.out.println("*****");
        }*/

        /*for (int j = 0; j < 5; j++) {
            System.out.print("*");
        }*/

        for (int i = 0; i < 4; i++) {
            for (int j = 0; j < 5; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
    }
}
